//
//  MCPath.h
//  iMagazine2
//
//  Created by dreamRen on 12-11-16.
//  Copyright (c) 2012年 iHope. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface MCPath : NSObject


//获取当前用户缓存的目录
+ (NSString *) getDocumentUserCachePath:(NSString *)userId;

/**
 *在沙盒Doc路径创建文件夹
 *
 */
+ (BOOL)createDirectoryInDocWithUserid:(NSString *)userId;

//创建应用缓存目录
+ (BOOL) createDocumentStj;


/**
 *  清除用户缓存
 */
+ (void) cleanUserData:(void(^)(BOOL success, float folderSize)) result;

/**
 *  清除所有用户缓存
 *
 *  @param result
 */
+ (void) clearAllData:(void(^)(BOOL success,float folderSize)) result;

@end
